package com.example.zhaoping.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 正在招聘的岗位表
 * </p>
 *
 * @author czx
 * @since 2024-12-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("jobs")
@ApiModel(value="Jobs对象", description="正在招聘的岗位表")
public class Jobs implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "职位ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "公司ID")
    private Integer companyId;

    @ApiModelProperty(value = "职位标题，例如软件工程师、产品经理等")
    private String title;

    @ApiModelProperty(value = "职位描述")
    private String description;

    @ApiModelProperty(value = "薪资范围")
    private String salaryRange;

    @ApiModelProperty(value = "工作地点")
    private String location;

    @ApiModelProperty(value = "任职要求：对候选人的学历、经验、技能等方面的要求")
    private String requirements;

    @ApiModelProperty(value = "招聘信息发布的日期")
    private LocalDate publishDate;

    @ApiModelProperty(value = "应聘申请的截止日期")
    private LocalDate applicationDeadline;

    @ApiModelProperty(value = "负责该岗位招聘的联系人姓名")
    private String contactName;

    @ApiModelProperty(value = "联系人的电话")
    private String contactPhone;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedTime;



}
